﻿using System;

namespace Home.Domain.Entities
{
    public class News
    {
        public int Id { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string Body { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        public string Tags { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 来源
        /// </summary>
        public string Source { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDate { set; get; }
        /// <summary>
        /// 新闻类别Id,外键
        /// </summary>
        public int PNewsId { get; set; }
        /// <summary>
        /// 新闻类别
        /// </summary>
        public virtual PNews PNews { get; set; }
    }
}
